﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration.Configuration;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.ComponentModel.Composition;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace MF_Base.Model
{
    [Description("首页配置列")]
    public class DefineHomeCol : Entity
    {
        [Required]
        public string DefineHomeId { get; set; }
        /// <summary>
        /// 列宽
        /// </summary>
        public string Width { get; set; }
        /// <summary>
        /// 列名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 列Json
        /// </summary>
        public string DefineHomePanelJson { get; set; }
        [ForeignKey("DefineHomeColId")]
        public List<DefineHomePanel> DefineHomePanel { get; set; }
    }
}
